package cn.edu.xmu.orderpayment.payment.microservice.wechatpayvo;

import cn.edu.xmu.orderpayment.payment.util.baseobject.DoPayInfo;
import cn.edu.xmu.orderpayment.payment.util.retvo2baseobj.PaymentPay;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ziyi guo
 * @date 2021/11/30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WeChatPayPrepayRetVo implements PaymentPay {

    private String prepayId;

    @Override
    public DoPayInfo createDoPayInfo() {
        return new DoPayInfo(prepayId);
    }
}
